package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 客户承担费用表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer_fees")
public class CustomerFees implements Serializable {
    /**
     * 客户承担费用id
     */
    @TableId(value = "customer_fees_no", type = IdType.INPUT)
    private Integer customerFeesNo;

    /**
     * 收入名称
     */
    @TableField(value = "customer_fees_name")
    private String customerFeesName;

    /**
     * 应收金额
     */
    @TableField(value = "customer_fees_amount")
    private BigDecimal customerFeesAmount;

    /**
     * 费用明细备注
     */
    @TableField(value = "notes")
    private String notes;

    /**
     * 关联id
     */
    @TableField(value = "correlation_id")
    private Integer correlationId;

    /**
     * 1 销售报价承担费用 2销售订单承担费用 3销售出库承担费用 4销售退货承担费用
     */
    @TableField(value = "correlation_option")
    private Integer correlationOption;

    private static final long serialVersionUID = 1L;
}